<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" session="false" %><%@
include file="/WEB-INF/jspf/import.jspf" %>
<!doctype HTML>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<meta id="twcClient" content="false" name="twcClient" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>车友会升级</title>
<meta name="keywords" content="汽车报价">
<meta name="description" content="太平洋汽车网为您提供最新报价信息，让您最快速查找到大众汽车最低价格。快速查询大众最新报价，就上太平洋汽车网。">
<meta name="Author" content="wangcaixia_gz none"/>
<link rel="stylesheet" type="text/css" href="http://js.3conline.com/wap/pcauto/2015/0409cyh_sx/up.css"></head>
<body>
<!--栏目计数器/文章计数器-->
         <jsp:include page="/template/wap/common/counter.jspf">
            <jsp:param name="channel" value="7378" />
        </jsp:include>
<div class="g-doc">


<div class="g-bd">
	<div class="m-hd-pic">
		<span class="lev${clubLevel.levelId}"></span>
		<p>恭喜，您的车友会已达到</p>
		<p>${clubLevel.levelId==1?"一":clubLevel.levelId==2?"二":clubLevel.levelId==3?"三":clubLevel.levelId==4?"四":"五"}星车友会的要求！</p>
	</div>

	<div class="m-hd-tit m-hd-p">升级奖励:</div>
	  <c:if test="${!empty rule}">
				      ${rule.ruleDesc}
	  </c:if>
	<div class="m-hd-tit">
		<span>${descNum}.</span>
		<p>可选择价值总和为 <em>${rule.valuePoint}</em>的礼包，可用价值点:<em>${rule.valuePoint}</em></p> 
	</div>

	<div class="select">
		<a href="${WAPROOT}/uplevel/goSelectUpgradeGift.do?clubId=${clubId}&from=${from}&${userSessionName}=${commonsessionId}" class="btn">挑选升级礼包</a>
	</div>
</div>

</div>
<script src="http://js.3conline.com/wap/2013/common/js/zepto.min.js" type="text/javascript"></script>
<script>
//for android app
window.onload = function(){
    if (${from=='android'} && ${noCookie==true}) {
        appCallback(getCookie("${userSessionName}"));
    }
};

function appCallback(_csid){
    writeCookie("${userSessionName}", _csid, 1);
}

function writeCookie(name,value,day){
    expire = "";
    expire = new Date();
    expire.setTime(expire.getTime()+day*24*3600*1000);
    expire = expire.toGMTString();
    document.cookie = name + "=" + escape(value) +"; path=/" + "; expires=" + expire;
    location.href = location.href;
}

function getCookie(name) {
    var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
    if (arr != null) return unescape(arr[2]);
    return null;
};
//for android app end
</script>
</body>
</html>
